package com.hzhr.iot.user.model.user_sysInfo;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.user.entity.UserEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="User_SysInfoModel", description="用户的系统信息模型")
@CygModel(entity = UserEntity.class)
public class User_SysInfoModel {
    @ApiModelProperty(value="说明 : 用户编号(唯一标识)", required=true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;
    @ApiModelProperty(value = "说明 : 用户名(show_info=true时展示)", required=true)
    @CygProperty(show = "_show_info", entityProp = "userName")
    private String userName;
    @ApiModelProperty(value = "说明 : 真实名称(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "realName")
    private String realName;
    @ApiModelProperty(value = "说明 : 手机号(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "phone")
    private String phone;
    @ApiModelProperty(value="说明 : 用户所拥有的第一个角色编号(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "roleExtList[0]_id")
    private Integer firstRoleId;
    @ApiModelProperty(value="说明 : 用户所拥有的第一个角色名称(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "roleExtList[0]_name")
    private String firstRoleName;
    @ApiModelProperty(value = "说明 : 部门编号(show_info=true时展示)", required=true)
    @CygProperty(show = "_show_info", entityProp = "deptId")
    private Integer deptId;
    @ApiModelProperty(value = "说明 : 部门名称(show_info=true时展示)", required=true)
    @CygProperty(show = "_show_info", entityProp = "deptExt_name")
    private String deptName;
    @ApiModelProperty(value = "说明 : 工号(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "staffNo")
    private String staffNo;
    @ApiModelProperty(value = "说明 : 性别代码(show_info=true时展示; 关联 : user_service.options.code, typeName = 'GENDER')")
    @CygProperty(show = "_show_info", entityProp = "id")
    private String gender;
    @ApiModelProperty(value = "说明 : 性别描述(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "genderExt_des")
    private String genderDes;
    @ApiModelProperty(value = "说明 : 创建时间(show_info=true时展示; 毫秒级时间戳)", required=true)
    @CygProperty(show = "_show_info", entityProp = "createTime")
    private Long createTime;
    @ApiModelProperty(value = "说明 : 改变数量")
    private Integer changeCount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getFirstRoleId() {
        return firstRoleId;
    }

    public void setFirstRoleId(Integer firstRoleId) {
        this.firstRoleId = firstRoleId;
    }

    public String getFirstRoleName() {
        return firstRoleName;
    }

    public void setFirstRoleName(String firstRoleName) {
        this.firstRoleName = firstRoleName;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getStaffNo() {
        return staffNo;
    }

    public void setStaffNo(String staffNo) {
        this.staffNo = staffNo;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getGenderDes() {
        return genderDes;
    }

    public void setGenderDes(String genderDes) {
        this.genderDes = genderDes;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Integer getChangeCount() {
        return changeCount;
    }

    public void setChangeCount(Integer changeCount) {
        this.changeCount = changeCount;
    }
}
